package com.jadcon.bedbreakfast.domain;

import java.util.Date;
import java.util.List;

public interface ReservationRepository {

	List<Reservation> getReservationList();
	
	List<Reservation> getReservationList(String username);

	List<Reservation> findByNumber(int reservationNumber);
	
	List<Reservation> findByNumber(int reservationNumber, String username);

	List<Reservation> findReservationByRoom(int roomNumber);
	
	List<Reservation> findReservationByRoom(int roomNumber, String username) ;

	List<Reservation> findReservationByStartDate(Date checkIn); 
	
	List<Reservation> findReservationByStartDate(Date checkIn, String username); 

	Reservation getReservationNumberForNewlyCreatedReservation(Reservation reservation);
	
	List<Reservation> findByUsername(String username);
	
	void save(Reservation reservation);
	
	void delete(int reservationNumber);

}
